package com.ssy.lingxi.logistics.model.response;

import java.util.List;

/**
 * 省市区返回实体类
 * @author yzc
 * @version 2.0.0
 * @date 2020/7/15
 */
public class AreaResponse {
    /**
     * 主键id
     */
    private Long id;

    /**
     * 地区编码
     */
    private String code;

    /**
     * 地区名字
     */
    private String name;

    /**
     * 地区等级
     */
    private Integer level;

    /**
     * 地区父编码
     */
    private String pcode;

    /**
     * 下级区域
     */
    private List<AreaResponse> areaResponses;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public String getPcode() {
        return pcode;
    }

    public void setPcode(String pcode) {
        this.pcode = pcode;
    }

    public List<AreaResponse> getAreaResponses() {
        return areaResponses;
    }

    public void setAreaResponses(List<AreaResponse> areaResponses) {
        this.areaResponses = areaResponses;
    }
}
